<template>
  <div class="back-top" @click="topClick">
    <img src="@/assets/images/common/top.png" alt />
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    topClick() {
      this.$emit("backTop");
    }
  }
};
</script>

<style lang='scss' scoped>
.back-top {
  position: fixed;
  right: 10px;
  bottom: 60px;

  img {
    width: 43px;
    height: 43px;
  }
}
</style>